package cc.uncarbon.module.appapi.model.vo;

import cc.uncarbon.module.appapi.model.response.OrdersItemBO;
import cc.uncarbon.module.appapi.model.response.OrdersTimeBO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yanrumiao.entity.OrdersItemEntity;
import com.yanrumiao.enumns.OrdersStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Accessors(chain = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrdersDetailVO implements Serializable {
    @Schema(description = "订单Id")
    private Long id;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "订单状态")
    private OrdersStatusEnum status;

    @Schema(description = "实际支付金额")
    private BigDecimal payMoney;

    @Schema(description = "实际金额")
    private BigDecimal price;

    @Schema(description = "项目详情")
    private OrdersItemBO itemInfo;

    @Schema(description = "预约记录")
    private List<OrdersTimeBO> orderTimeList;

    @Schema(description = "创建时间")
    private Date createdAt;
}
